<!doctype html>
<html lang="zh-CH">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>央票通</title>
	<link rel="stylesheet" href="./resource/css/index.css">
	<link rel="stylesheet" href="./resource/css/user.css">
</head>
<body>
<!-- 头部 -->
@include('common.index_head')
<!-- 个人中心 -->
<div class="cont-user">
	<!-- 个人中心头部 -->
	@include('common.user_head')
	<div class="user-center">
		<div class="main">
			<!-- 个人中心列表 -->
			@include('common.user_left')
			<div class="user-container left">
				<div class="user-title user-password user-flow">
					<div class="title">
						<div class="h left">资金流水</div>
					</div>
					<div class="user-box">
						<ul class="pass-ul">
							<li class="active"><a href="javascript:;">账户明细</a></li>
							<li><a href="javascript:;">充值记录</a></li>
							<li><a href="javascript:;">提现记录</a></li>
						</ul>
						<div class="pass-main">
							<div class="pass-cont">
								<table>
									<thead>
										<tr>
											<td>操作类型</td>
											<td>投资金额（元）</td>
											<td>可用金额（元）</td>
											<td>操作时间</td>
											<td>投资状态</td>
										</tr>
									</thead>
									<tbody>
									@foreach($account as $k=>$v)
										<tr>
											<td>@if($v->type==1)
													体验投标
												@endif</td>
											<td>{{$v->invest_money}}</td>
											<td>{{$v->useable_money}}</td>
											<td>{{date('Y-m-d',$v->oper_time)}}</td>
											<td>@if($v->status==1)
													投标成功
												@endif</td>
										</tr>
										@endforeach
									{{$account->links()}}
									</tbody>
								</table>

							</div>
							<div class="pass-cont">
								<table>
									<thead>
										<tr>
											<td>充值类型</td>
											<td>充值金额（元）</td>
											<td>所属银行</td>
											<td>操作时间</td>
											<td>充值状态</td>
										</tr>
									</thead>
									<tbody>
									@foreach($recharge as $k=>$v)
										<tr>
											<td>@if($v->type==1)
													网页成功
												@endif</td>
											<td>{{$v->rechar_money}}</td>
											<td>{{$v->bank}}</td>
											<td>{{date('Y-m-d',$v->oper_time)}}</td>
											<td>@if($v->status==1)
													充值成功
												@endif</td>
										</tr>
									@endforeach
									{{$recharge->links()}}
									</tbody>
								</table>
							</div>
							<div class="pass-cont">
								<table>
									<thead>
										<tr>
											<td>提现银行</td>
											<td>银行卡号</td>
											<td>提现金额（元）</td>
											<td>提现时间</td>
											<td>提现状态</td>
										</tr>
									</thead>
									<tbody>
									@foreach($withdraw as $k=>$v)
										<tr>
											<td>{{$v->bank_name}}</td>
											<td>{{$v->bank_num}}</td>
											<td>{{$v->withdraw_money}}</td>
											<td>{{date('Y-m-d',$v->created)}}</td>
											<td>@if($v->status==1)
													提现成功
												@endif</td>
										</tr>
										@endforeach
									{{$withdraw->links()}}
									</tbody>
								</table>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>


<!-- footer -->
@include('common.index_foot')
<script src="./resource/js/jquery-1.11.3.min.js"></script>
<script src="./resource/js/index.js"></script>
<script src="./resource/js/user.js"></script>
</body>
</html>